﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JqueryNet.FormControl.FormHtmlControl
{
    public class JHtmlTitle : JHtmlControl
    {
        private System.Web.UI.HtmlControls.HtmlTitle htmlTitle;

        public JHtmlTitle(System.Web.UI.HtmlControls.HtmlTitle htmlTitle)
            : base(htmlTitle)
        {
            // TODO: Complete member initialization
            this.htmlTitle = htmlTitle;
        }

        public override void Val()
        {
            Value = htmlTitle.Text;
        }

        public override void Val(string value)
        {
            htmlTitle.Text = value;
        }
    }
}
